home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / dcom / modems-part1 / 4214 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: newsreader.read.tasc.com!usenet
  2. From: Doug Sauder <dwsauder@tasc.com>
  3. Newsgroups: comp.dcom.modems
  4. Subject: How to autodetect a modem
  5. Date: 6 Feb 1996 23:01:46 GMT
  6. Organization: TASC
  7. Message-ID: <4f8mkq$5hk@lois.Read.TASC.COM>
  8. NNTP-Posting-Host: dwsauder.ftwa.tasc.com
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 1.1N (Macintosh; I; 68K)
  13. X-URL: news:comp.dcom.modems
  14.  
  15. I have noticed several very user-friendly programs that can auto-detect 
  16. a modem.  I have modem on my PC (COM3 IRQ5) that Prodigy was able to 
  17. find quite easily, even though it is not on the standard IRQ.  
  18.  
  19. I thought it would be nice to do this in my own program.  The idea is to 
  20. send "AT" (or perhaps better yet "ATQ1" to be sure that a response it 
  21. sent back) and watch for an "OK\n\r" response or "0\r" response.  I 
  22. don't suppose that sending a string to the mouse would affect anything.
  23.  
  24. Does anybody have a better idea about how to do this?  Under MS Windows 
  25. 3.1, can I get information from the system to get a head start?  I 
  26. really can't think of any other way to detect a modem than to send the 
  27. "AT" string and get a response.
  28.  
  29.  
  30.